<?php

namespace app\admin\validate;

use think\Validate;

class  AdminUser extends Validate
{
    protected $rule = [
        'username' => 'require',
        'password' => 'require',
        'captcha' => 'require|captcha',
    ];

    protected $message = [
        'username' => '用户名必须',
        'password' => '密码必须',
        'captcha.require' => '验证码必须',
        'captcha.captcha' => '验证码错误了',
    ];


}